Tootsville::Infinity-Get-Inventory

Function

Infinity-Get-Inventory names a function, with lambda list (D USER RECIPIENT/S):

Get all inventory for an user (themself) — both active and inactive

Lisp GET-INVENTORY = JSON getInventory

Usage

This command requires no parameters.

{ c: "getInventory" }

Status 200 OK

Returns a set of items as

{ from: "getInventory", 
  inv: { 0: { id: 123, isActive: boolean }, ... } }

furniture with placement data will also have x, y, z, and facing vars. Other attributes are "from":"inventory", "type": matching the type of the question

WRITEME

File

Defined in file src/infinity/legacy-commands.lisp.